import 'package:json_annotation/json_annotation.dart';
part 'picmodel.g.dart';
//flutter packages pub run build_runner build
@JsonSerializable()
class PicModel {
  PicModel(this.id, this.time, this.img);

  int id;
  String time;
  String img;
 // String url;
  factory PicModel.fromJson(Map<String,dynamic>json)=>_$PicModelFromJson(json);
}
